package cn.stylefeng.guns.modular.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 两地销售产品表
 * </p>
 *
 * @author 小飞
 * @since 2019-07-11
 */
@TableName("both_area_product")
public class BothAreaProduct implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 产品id
     */
    @TableField("product_order_id")
    private Long productOrderId;

    /**
     * 序列号，隔开
     */
    @TableField("serials")
    private String serials;

    /**
     * 关联两地销售表
     */
    @TableField("both_area_commit_id")
    private Long bothAreaCommitId;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getProductOrderId() {
        return productOrderId;
    }

    public void setProductOrderId(Long productOrderId) {
        this.productOrderId = productOrderId;
    }

    public String getSerials() {
        return serials;
    }

    public void setSerials(String serials) {
        this.serials = serials;
    }

    public Long getBothAreaCommitId() {
        return bothAreaCommitId;
    }

    public void setBothAreaCommitId(Long bothAreaCommitId) {
        this.bothAreaCommitId = bothAreaCommitId;
    }

    @Override
    public String toString() {
        return "BothAreaProduct{" +
        "id=" + id +
        ", productOrderId=" + productOrderId +
        ", serials=" + serials +
        ", bothAreaCommitId=" + bothAreaCommitId +
        "}";
    }
}
